
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

<!-- Logging section -->
<loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="" logWarningsWhenNoCategoriesMatch="true">
	<listeners>
		<add fileName="D:\development\trace.log" rollSizeKB="10000" timeStampPattern="yyyy-MM-dd" rollFileExistsBehavior="Overwrite" rollInterval="None" formatter="Text Formatter" header="----------------------------------------" footer="----------------------------------------" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" name="Rolling Flat File Trace Listener"/>
	</listeners>
	<formatters>
		<add template="Timestamp: {timestamp}&#xA;Message: {message}&#xA;Category: {category}&#xA;Priority: {priority}&#xA;EventId: {eventid}&#xA;Severity: {severity}&#xA;Title:{title}&#xA;Machine: {machine}&#xA;Application Domain: {appDomain}" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" name="Text Formatter"/>
	</formatters>
	<categorySources>
		<add switchValue="All" name="Error">
			<listeners>
				<add name="Rolling Flat File Trace Listener"/>
			</listeners>
		</add>
		<add switchValue="All" name="Info">
			<listeners>
				<add name="Rolling Flat File Trace Listener"/>
			</listeners>
		</add>
		<add switchValue="All" name="Warning">
			<listeners>
				<add name="Rolling Flat File Trace Listener"/>
			</listeners>
		</add>
		<add switchValue="All" name="Task">
			<listeners>
				<add name="Rolling Flat File Trace Listener"/>
			</listeners>
		</add>
	</categorySources>
	<specialSources>
		<allEvents switchValue="All" name="All Events"/>
		<notProcessed switchValue="All" name="Unprocessed Category"/>
		<errors switchValue="All" name="Logging Errors &amp; Warnings">
			<listeners>
				<add name="Rolling Flat File Trace Listener"/>
			</listeners>
		</errors>
	</specialSources>
</loggingConfiguration>